home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16639 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  724 b 

  1. Path: druid.borland.com!usenet
  2. From: pete@borland.com (Pete Becker)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Operators <<= and >>=
  5. Date: 11 Apr 1996 16:08:10 GMT
  6. Organization: Borland International
  7. Message-ID: <4kjapa$jp2@druid.borland.com>
  8. References: <4iva5m$4q5@access4.digex.net> <Pine.OSF.3.91.960403110722.17337E-100000@bud.cc.swin.edu.au> <316AC1D8.4571@delta.com>
  9. NNTP-Posting-Host: pbecker.borland.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=ISO-8859-1
  12. X-Newsreader: WinVN 0.99.5
  13.  
  14. In article <316AC1D8.4571@delta.com>, sean@delta.com says...
  15. >
  16. >> When / why would one overload the operators <<= and >>=  ?
  17. >
  18. >maybe for dumping one iostream into another.. ? 8)
  19.  
  20. No. You'd do that like this:
  21.  
  22. cout << cin;
  23.  
  24.